﻿using System;
using System.Collections.Generic;
using System.Text;
using UtilZ.Dotnet.Ex.Base;

namespace UtilZ.Dotnet.Ex.Communication.Base
{
    /// <summary>
    /// 通信客户端接口
    /// </summary>
    public interface IClient : IDisposableZ
    {
        /// <summary>
        /// Tag
        /// </summary>
        object Tag { get; set; }


        /// <summary>
        /// 发送数据
        /// </summary>
        /// <param name="sendDataOptions">发送的数据选项</param>
        void Send(ISendDataOptions sendDataOptions);
    }
}
